﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HYQY_App.Tool.Image
{
    /// <summary>
    /// 上传图片Dto
    /// </summary>
    public class ImageDto
    {
        // Imgbb响应模型
        public class ImgBBResponse
        {
            public UploadImageResponse data { get; set; }
            public bool success { get; set; }
            public int status { get; set; }
        }

        // 定义明确的返回类型
        public class UploadImageResponse
        {

            public string? url { get; set; }
        }

        /// <summary>
        /// 删除图片-输入
        /// </summary>
        public class DeleteImagesAsyncInput
        {
            public string ImageUrl { get; set; }

            public string WareCode { get; set; }

            public string Type { get; set; }
        }
    }
}
